package com.vhall.component.entity.gift.vo;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author xianglei
 * @date 2021/3/10
 */
@Data
public class MapSaveRspVO implements Serializable {

    private static final long serialVersionUID = -8361753912161096611L;
    /**
     * 主键
     */
    private Long id;

    /**
     * PaaS应用ID
     */
    @JsonProperty(value = "app_id")
    private String appId;

    /**
     * 创建者ID
     */
    @JsonProperty(value = "creator_id")
    private String creatorId;


    /**
     * 来源ID
     */
    @JsonProperty(value = "room_id")
    private String roomId;

    /**
     * 表情ID，多个ID以逗号分割
     */
    @JsonProperty(value = "gift_ids")
    private String giftIds;

    /**
     * 关联类型：0 关联来源ID，1 关联创建者ID
     */
    private Integer type;

    /**
     * 是否已删除 0 表示未删除 1 表示已删除
     */
    @JsonProperty(value = "deleted")
    private Integer deleted;

    /**
     * 创建时间
     */
    @JsonProperty(value = "created_at")
    private LocalDateTime createdAt;

    /**
     * 删除时间
     */
    @JsonProperty(value = "deleted_at")
    private LocalDateTime deletedAt;

    /**
     * 更新时间
     */
    @JsonProperty(value = "updated_at")
    private LocalDateTime updatedAt;
}
